package com.solomon.travel.common.service;

import java.util.List;

import com.solomon.travel.common.model.Page;
import com.solomon.travel.common.po.Agency;
import com.solomon.travel.common.po.Route;

public interface AgencyService {
	int add(Agency agency);
	int update(Agency agency);
	int add(Route route);
	int update(Route route);
	int countRoutes(String agencyId);
	List<Route> listAgencyRoutes(String agencyId,Page page);
	Route getById(String routeId);
	int delete(String routeId);
}
